package www.com;

import org.springframework.boot.SpringApplication;
import org.springframework.context.annotation.Import;
import www.com.config.CorsConfig;

import java.text.SimpleDateFormat;
import java.util.Calendar;
@Import(CorsConfig.class)
@org.springframework.boot.autoconfigure.SpringBootApplication
public class SpringBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootApplication.class, args);
        Calendar instance = Calendar.getInstance();
        SimpleDateFormat sim = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("^^^^项目启动成功~~~~~~~&&&~~~~~~~"+sim.format(instance.getTime()));
    }

}
